# -*- mode: snippet -*-
# name: File open using with
# key: file_open_with
# key: open_file_with
# contributor: Shuguang Sun
# --
with open("$0", "r") as f_sample:
    print(f_sample.read())
f_sample.close()